//Author: David Lo
//Date: 12/12/12
//References: Player_Lose.js
//Description: Checks if the player has no lives left and loads game over screen

var GameOver : String;

function Update()
{
    //Checks if the player has no lives left and loads game over screen
    if (PlayerPrefs.GetInt("Player Lives") == 0)
    {
    	Application.LoadLevel(GameOver);
    }

}

